<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI做题伙伴</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
        /* 引入自定义字体 */

        body {
            font-family: 'Open Sans', sans-serif;
            /* 设置页面字体为Open Sans */
            display: flex;
            /* 将body设置为flex布局 */
            flex-direction: column;
            /* 子元素按垂直方向排列 */
            justify-content: center;
            /* 子元素沿主轴（垂直方向）居中 */
            align-items: center;
            /* 子元素沿交叉轴（水平方向）居中 */
            min-height: 100vh;
            /* 设置body高度至少为视窗高度，确保内容始终居中 */
            margin: 0;
            /* 清除body的默认外边距 */
            background-color: #f2f2f2;
            /* 添加浅灰色背景，便于观察居中效果 */
        }



        .title-container {
            /* 为标题与按钮之间添加适当间距 */
            margin-bottom: 10rem;

        }


        h1.title {
            font-size: 70px;
            font-weight: 600;
            line-height: 1.2;
            color: #333;
            /* 使用深灰色文字 */
            text-transform: uppercase;
            /* 将标题文字转为大写 */
            letter-spacing: 0.05em;
            /* 添加轻微字母间距 */
            margin: 0;
            /* 清除默认的顶部和底部外边距 */
        }


        .button-center {
            text-align: center;
        }

        .attractive-button {
            display: inline-block;
            padding: 12px 30px;
            font-size: 16px;
            font-weight: 500;
            line-height: 1;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #ffffff;
            background-image: linear-gradient(to right, #00c6ff, #0072ff);
            border-radius: ⅓em;
            box-shadow: 0 4px inset rgba(0, 0, 0, 0.1);
            /* 修正box-shadow错误 */
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
            /* 明确指定transition的属性 */
        }

        .attractive-button:hover,
        .attractive-button:focus {
            transform: translateY(-2px);
            box-shadow: 0 7px inset rgba(0, 0, 0, 0.2);
            /* 修正box-shadow错误 */
        }
    </style>
</head>
<body>
<div class="title-container">
    <h1 class="title">
        AI做题伙伴
    </h1>
</div>
<div class="button-center">
    <a href="/topic/next" class="attractive-button">开始答题</a>
</div>


</body>
</html>